LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

logrorate - centos 5

Posted 11-05-2011 at 07:40 AM by Sharad Garg

Hi

I have a logfile of my application. I want this file to rotate if its size exeeds 1 MB.

For this I am using `logrorate'. I am running the logrorate manually. S whenever I run logrorate, log file gets rorates. It does not take care whether the file size is less than 1 M or not.

I have defined size 1M in the config file. For reference the content of config file is here -

=======================================================================================...
LQ Newbie
Posted in Uncategorized
Views 640 Comments 0 Sharad Garg is offline

  



All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration